package cn.yyvtc.base;

import lombok.Data;

/**
 * @author 黄后林
 * @date 2022-11-01 13:54:16
 * @note 程序员是用代码喂出来的
 */
@Data
public class ResDataBK {
    private String code;
    private String message;
    private Object data;


    public static ResDataBK getSuccessResData(Object object){
        ResDataBK data = new ResDataBK();
        data.setCode("200");
        data.setMessage("success");
        data.setData(object);
        return data;
    }

}
